notEmptyRangeOf

@ExperimentalSinceKotoolsTypes(version = "4.2")
fun <T : Comparable<T>> notEmptyRangeOf(bounds: NotEmptyRange.BuilderScope<T>.() -> Pair<Bound<T>, Bound<T>>): NotEmptyRange<T>

Returns a not empty range with the given pair of bounds. The resulting range will start with the lower value between the given bounds.